﻿/*------------------------------------------------
// File Description: s_model_burst DataBase Entity
// Author:			 Crane
// Create Time:		 2021-04-27 22:23:09
//------------------------------------------------*/

using System;
using System.Data.Entity;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace IOA.OldMes.DataAccess.Entity
{
    /// <summary>
    /// 组件表
    /// </summary>
    [Table("s_model_burst")]
    public class ModelBurst
    {
        private string _solar_no = string.Empty;
        private string _order_no = string.Empty;
        private string _work_order = string.Empty;
        private string _old_order = string.Empty;
        private string _made_line = string.Empty;
        private string _model_type = string.Empty;
        private string _in_code = string.Empty;
        private string _cell_vender = string.Empty;
        private string _cell_where = string.Empty;
        private string _cell_standard = string.Empty;
        private string _cell_level = string.Empty;
        private string _cell_color = string.Empty;
        private string _weld_first = string.Empty;
        private string _set_class = string.Empty;
        private string _set_no = string.Empty;
        private string _晶体类别 = string.Empty;
        private string _电池厚度 = string.Empty;
        private string _电池批次 = string.Empty;

        #region Public Property

        ///<Summary>
        /// id
        ///</Summary>
        public int id { get; set; }

        ///<Summary>
        /// solar_no
        ///</Summary>
        public string solar_no
        {
            get { return string.IsNullOrWhiteSpace(_solar_no) ? string.Empty : _solar_no; }
            set { _solar_no = value; }
        }

        ///<Summary>
        /// solar_id
        ///</Summary>
        public int? solar_id { get; set; }

        ///<Summary>
        /// order_no
        ///</Summary>
        public string order_no
        {
            get { return string.IsNullOrWhiteSpace(_order_no) ? string.Empty : _order_no; }
            set { _order_no = value; }
        }

        ///<Summary>
        /// work_order
        ///</Summary>
        public string work_order
        {
            get { return string.IsNullOrWhiteSpace(_work_order) ? string.Empty : _work_order; }
            set { _work_order = value; }
        }

        ///<Summary>
        /// old_order
        ///</Summary>
        public string old_order
        {
            get { return string.IsNullOrWhiteSpace(_old_order) ? string.Empty : _old_order; }
            set { _old_order = value; }
        }

        ///<Summary>
        /// p_time
        ///</Summary>
        public DateTime? p_time { get; set; }

        ///<Summary>
        /// made_line
        ///</Summary>
        public string made_line
        {
            get { return string.IsNullOrWhiteSpace(_made_line) ? string.Empty : _made_line; }
            set { _made_line = value; }
        }

        ///<Summary>
        /// model_type
        ///</Summary>
        public string model_type
        {
            get { return string.IsNullOrWhiteSpace(_model_type) ? string.Empty : _model_type; }
            set { _model_type = value; }
        }

        ///<Summary>
        /// in_code
        ///</Summary>
        public string in_code
        {
            get { return string.IsNullOrWhiteSpace(_in_code) ? string.Empty : _in_code; }
            set { _in_code = value; }
        }

        ///<Summary>
        /// cell_vender
        ///</Summary>
        public string cell_vender
        {
            get { return string.IsNullOrWhiteSpace(_cell_vender) ? string.Empty : _cell_vender; }
            set { _cell_vender = value; }
        }

        ///<Summary>
        /// cell_where
        ///</Summary>
        public string cell_where
        {
            get { return string.IsNullOrWhiteSpace(_cell_where) ? string.Empty : _cell_where; }
            set { _cell_where = value; }
        }

        ///<Summary>
        /// cell_standard
        ///</Summary>
        public string cell_standard
        {
            get { return string.IsNullOrWhiteSpace(_cell_standard) ? string.Empty : _cell_standard; }
            set { _cell_standard = value; }
        }

        ///<Summary>
        /// cell_level
        ///</Summary>
        public string cell_level
        {
            get { return string.IsNullOrWhiteSpace(_cell_level) ? string.Empty : _cell_level; }
            set { _cell_level = value; }
        }

        ///<Summary>
        /// cell_eta
        ///</Summary>
        public decimal? cell_eta { get; set; }

        ///<Summary>
        /// cell_color
        ///</Summary>
        public string cell_color
        {
            get { return string.IsNullOrWhiteSpace(_cell_color) ? string.Empty : _cell_color; }
            set { _cell_color = value; }
        }

        ///<Summary>
        /// cell_power
        ///</Summary>
        public decimal? cell_power { get; set; }

        ///<Summary>
        /// cell_qty
        ///</Summary>
        public int? cell_qty { get; set; }

        ///<Summary>
        /// cell_area
        ///</Summary>
        public decimal? cell_area { get; set; }

        ///<Summary>
        /// theory_power
        ///</Summary>
        public float? theory_power { get; set; }

        ///<Summary>
        /// weld_first
        ///</Summary>
        public string weld_first
        {
            get { return string.IsNullOrWhiteSpace(_weld_first) ? string.Empty : _weld_first; }
            set { _weld_first = value; }
        }

        ///<Summary>
        /// set_class
        ///</Summary>
        public string set_class
        {
            get { return string.IsNullOrWhiteSpace(_set_class) ? string.Empty : _set_class; }
            set { _set_class = value; }
        }

        ///<Summary>
        /// set_no
        ///</Summary>
        public string set_no
        {
            get { return string.IsNullOrWhiteSpace(_set_no) ? string.Empty : _set_no; }
            set { _set_no = value; }
        }

        ///<Summary>
        /// set_time
        ///</Summary>
        public DateTime? set_time { get; set; }

        ///<Summary>
        /// string_type
        ///</Summary>
        public int? string_type { get; set; }

        ///<Summary>
        /// 晶体类别
        ///</Summary>
        public string 晶体类别
        {
            get { return string.IsNullOrWhiteSpace(_晶体类别) ? string.Empty : _晶体类别; }
            set { _晶体类别 = value; }
        }

        ///<Summary>
        /// 电池厚度
        ///</Summary>
        public string 电池厚度
        {
            get { return string.IsNullOrWhiteSpace(_电池厚度) ? string.Empty : _电池厚度; }
            set { _电池厚度 = value; }
        }

        ///<Summary>
        /// 电池批次
        ///</Summary>
        public string 电池批次
        {
            get { return string.IsNullOrWhiteSpace(_电池批次) ? string.Empty : _电池批次; }
            set { _电池批次 = value; }
        }
        #endregion
    }

    public partial class OldMESContext
    {
        /// <summary>
        /// 组件表
        /// </summary>
        public virtual DbSet<ModelBurst> ModelBursts { get; set; }
    }
}